<!--
  Generated template for the My page.

  See http://ionicframework.com/docs/v2/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
    <ion-navbar>
        <ion-title>我的</ion-title>
    </ion-navbar>
</ion-header>
<ion-content>
    <ion-list class="user-bg">
        <ion-item>
            <ion-avatar class="user-icon" item-start [innerHTML]="icon" color="white">
            </ion-avatar>
            <h2 *ngIf="!isLogin" tappable (click)="login()" style="margin:10px 0px 5px 0px; color:#4a8bfc;">立即登录</h2>
            <h2 *ngIf="isLogin" style="margin:10px 0px 5px 0px; color:#4a8bfc;">{{user.name}}</h2>
        </ion-item>
        <!-- <ion-item>
            <ion-thumbnail item-center>
            </ion-thumbnail>
            
            <h2 *ngIf="isLogin"> {{user.name}} </h2>
            <ion-badge *ngIf="isLogin" item-right>初入江湖</ion-badge>
        </ion-item> -->
    </ion-list>
    <ion-list>
        <!-- <button ion-item (click)="shareRecord()">
          存档分享
        </button> -->
        <button ion-item (click)="feedback()">
          意见反馈
        </button>
        <button ion-item (click)="about()">
          关于我们
      </button>
    </ion-list>
    <div padding>
        <button ion-button block (click)="logout()" color="dark">退出登录</button>
    </div>
</ion-content>